package com.game.pool;


import com.game.util.LogUtil;
import org.quartz.SchedulerException;
import org.quartz.impl.StdSchedulerFactory;

/**
 * @author sig
 * @since 2016/9/27
 */
public class QuartzPool {

    public static void init() {
        try {
            new StdSchedulerFactory("config/quartz.properties")
                    .getScheduler().start();
        } catch (SchedulerException e) {
            LogUtil.console.error(e.getMessage(), e);
        }
    }
}
